package org.flexqueries2.core
{
	import flash.external.ExternalInterface;

	public class SynchronousHttp
	{
		public static function send(url:String, parameters:Object):String
		{
			
			var output:String = ExternalInterface.call('send', url, parameters);
			
			if(output == null)
				throw new Error("Ensure the 2 synchronous javascript files are referenced in your html !");
			
			return output;
		}
	}
}